package com.ruoyi.system.domain.person;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 类别对象 person
 * 
 * @author ruoyi
 * @date 2023-04-06
 */
public class Person extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类别id */
    private Integer personId;

    /** 类别名称 */
    @Excel(name = "类别名称")
    private String personName;

    public void setPersonId(Integer personId) 
    {
        this.personId = personId;
    }

    public Integer getPersonId() 
    {
        return personId;
    }
    public void setPersonName(String personName) 
    {
        this.personName = personName;
    }

    public String getPersonName() 
    {
        return personName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personId", getPersonId())
            .append("personName", getPersonName())
            .toString();
    }
}
